package domain;

/**
 * 产品数据的JavaBean
 */
public class Product {
    private int id;         // 产品编号
    private String name;    // 产品名
    private int count;      // 产品库存
    private double price;      // 产品价格
    private String img;     // 产品图片地址
    private String description;     // 产品简介

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }
    public double getPrice() {
        return price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public String getImg() {
        return img;
    }
    public void setImg(String img) {
        this.img = img;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
}
